package com.dmap.admin.po;

import java.io.Serializable;

public class LoginLog implements Serializable {
    /**
     * 主键id
     * 表字段 : login_log.id
     */
    private Long id;

    /**
     * 
     * 表字段 : login_log.user_id
     */
    private Long userId;

    /**
     * 用户账号
     * 表字段 : login_log.user_account
     */
    private String userAccount;

    /**
     * 手机号
     * 表字段 : login_log.user_handphone
     */
    private String userHandphone;

    /**
     * ip地址
     * 表字段 : login_log.ip
     */
    private String ip;

    /**
     * 浏览器
     * 表字段 : login_log.browser
     */
    private String browser;

    /**
     * 地址
     * 表字段 : login_log.address
     */
    private String address;

    /**
     * 创建时间
     * 表字段 : login_log.create_time
     */
    private Long createTime;

    /**
     * 最后更新时间
     * 表字段 : login_log.update_time
     */
    private Long updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table login_log
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table login_log
     *
     * @mbggenerated
     */
    public LoginLog(Long id, Long userId, String userAccount, String userHandphone, String ip, String browser, String address, Long createTime, Long updateTime) {
        this.id = id;
        this.userId = userId;
        this.userAccount = userAccount;
        this.userHandphone = userHandphone;
        this.ip = ip;
        this.browser = browser;
        this.address = address;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table login_log
     *
     * @mbggenerated
     */
    public LoginLog() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column login_log.id
     *
     * @return the value of login_log.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column login_log.id
     *
     * @param id the value for login_log.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column login_log.user_id
     *
     * @return the value of login_log.user_id
     *
     * @mbggenerated
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column login_log.user_id
     *
     * @param userId the value for login_log.user_id
     *
     * @mbggenerated
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column login_log.user_account
     *
     * @return the value of login_log.user_account
     *
     * @mbggenerated
     */
    public String getUserAccount() {
        return userAccount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column login_log.user_account
     *
     * @param userAccount the value for login_log.user_account
     *
     * @mbggenerated
     */
    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount == null ? null : userAccount.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column login_log.user_handphone
     *
     * @return the value of login_log.user_handphone
     *
     * @mbggenerated
     */
    public String getUserHandphone() {
        return userHandphone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column login_log.user_handphone
     *
     * @param userHandphone the value for login_log.user_handphone
     *
     * @mbggenerated
     */
    public void setUserHandphone(String userHandphone) {
        this.userHandphone = userHandphone == null ? null : userHandphone.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column login_log.ip
     *
     * @return the value of login_log.ip
     *
     * @mbggenerated
     */
    public String getIp() {
        return ip;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column login_log.ip
     *
     * @param ip the value for login_log.ip
     *
     * @mbggenerated
     */
    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column login_log.browser
     *
     * @return the value of login_log.browser
     *
     * @mbggenerated
     */
    public String getBrowser() {
        return browser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column login_log.browser
     *
     * @param browser the value for login_log.browser
     *
     * @mbggenerated
     */
    public void setBrowser(String browser) {
        this.browser = browser == null ? null : browser.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column login_log.address
     *
     * @return the value of login_log.address
     *
     * @mbggenerated
     */
    public String getAddress() {
        return address;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column login_log.address
     *
     * @param address the value for login_log.address
     *
     * @mbggenerated
     */
    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column login_log.create_time
     *
     * @return the value of login_log.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column login_log.create_time
     *
     * @param createTime the value for login_log.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column login_log.update_time
     *
     * @return the value of login_log.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column login_log.update_time
     *
     * @param updateTime the value for login_log.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table login_log
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", userAccount=").append(userAccount);
        sb.append(", userHandphone=").append(userHandphone);
        sb.append(", ip=").append(ip);
        sb.append(", browser=").append(browser);
        sb.append(", address=").append(address);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}